#include <iostream>
#include <cstring>
#include <vector>

using namespace std;

int main()
{
	int n = 0;
	cin >> n;
	std::vector<std::string> str(n);
	for (int i = 0; i < n; i++)
	{
		cin >> str[i];
	}

	for (auto e : str) cout << e << endl;

	return 0;
}